package com.punai.config.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.punai.common.core.domain.TreeBo;
import com.punai.config.domain.ConfigFormatCategory;

import java.text.ParseException;
import java.util.List;

public interface ConfigFormatCategoryService extends IService<ConfigFormatCategory> {
    List<TreeBo> treelist();

    int saveOrUpdateFormatCategory(ConfigFormatCategory configFormatCategory) throws ParseException;

    ConfigFormatCategory getInfo(String id);

    int delete(String id);

}
